xm: Add a new command: xm reset
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Apr 2008 09:18:13 +0000 (10:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Apr 2008 09:18:13 +0000 (10:18 +0100)
commitbd5b777ef98a2ee29043bf71a961528614c09d27
treeeca2551ad4583b204133b2a10a9c010134f97865
parentcc6d49433730c5899dbbcc85ca7955f20e4efb51
xm: Add a new command: xm reset

If a hang-up of a guest OS occurs, we will restart the guest OS by
using
the following commands.
 1. xm destroy
 2. xm create or xm start

To reduce the number of xm commands to use, this patch adds a new
command.  The command is "xm reset".  The command executes destruction
of a domain, and then creation of the domain.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xm/main.py